package org.example.contract.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 合同附件对象 b_contract_file
 * 
 * @author 小孟微信：xiaomengcode
 * @date 2024-04-11
 */
public class ContractFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合同附件ID */
    private Long contractFileId;

    /** 合同ID */
    @Excel(name = "合同ID")
    private String contractId;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String contractFileName;

    /** 路径 */
    @Excel(name = "路径")
    private String path;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 后缀 */
    @Excel(name = "后缀")
    private String suffix;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setContractFileId(Long contractFileId) 
    {
        this.contractFileId = contractFileId;
    }

    public Long getContractFileId() 
    {
        return contractFileId;
    }
    public void setContractId(String contractId) 
    {
        this.contractId = contractId;
    }

    public String getContractId() 
    {
        return contractId;
    }
    public void setContractFileName(String contractFileName) 
    {
        this.contractFileName = contractFileName;
    }

    public String getContractFileName() 
    {
        return contractFileName;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSuffix(String suffix) 
    {
        this.suffix = suffix;
    }

    public String getSuffix() 
    {
        return suffix;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractFileId", getContractFileId())
            .append("contractId", getContractId())
            .append("contractFileName", getContractFileName())
            .append("path", getPath())
            .append("type", getType())
            .append("suffix", getSuffix())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
